import React, { memo } from "react"
import type { FC, ReactNode } from "react"
import { Routes, Route, Router } from "react-router-dom"
import Home from "./page/home/Home"
interface IProps {
  children?: ReactNode
}

const Index: FC<IProps> = () => {
  return (
    <div>
      <Routes>
        <Route path="/" element={<Home />}></Route>
      </Routes>
    </div>
  )
}

export default memo(Index)
